package com.edu.app.mapper.core;

import com.edu.app.bean.core.SysRole;
import com.edu.app.util.AppBaseMapper;

import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Component;

@Component
public interface SysRoleMapper extends AppBaseMapper<SysRole> {
    @Select("SELECT * FROM S_ROLE WHERE role = #{roleName}")
    SysRole getRoleByName(String roleName);
}
